package com.gupao.spring.pattern.factory.func;

import com.gupao.spring.pattern.factory.Phone;
import com.gupao.spring.pattern.factory.XiaoMi;

/**
 * 生产小米手机
 */
public class XiaoMiFactory implements Factory {


    public Phone getPhone() {
        return new XiaoMi();
    }
}
